package com.starter.home.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.starter.home.domain.entity.ServeImg;
import com.starter.home.domain.vo.FileVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author
 * @since 2020-05-01
 */
public interface IServeImgService extends IService<ServeImg> {

    void saveImg(Integer id, String name,String path);

    List<FileVo> selectById(Integer id);

    int deleteByName(String fileName);

    List<ServeImg> selectByInfoId(Integer id);
}
